def greet_users(names):
    for name in names:
        msg = "Hello, "+name.title()+"!"
        print(msg)

usernames = ["a","b","c"]
greet_users(usernames)